

package org.finegold.core.launch.config;

import org.finegold.core.launch.props.FinePropertySourcePostProcessor;
import org.finegold.core.launch.props.FineProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;

/**
 * fine property config
 *
 * @author QinXueFeng
 */
@Configuration(proxyBeanMethods = false)
@Order(Ordered.HIGHEST_PRECEDENCE)
@EnableConfigurationProperties(FineProperties.class)
public class FinePropertyConfiguration {

	@Bean
	public FinePropertySourcePostProcessor finePropertySourcePostProcessor() {
		return new FinePropertySourcePostProcessor();
	}

}
